<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Welcome to CSSA Scheduler </title>
    </h:head>
    <h:body>
        <f:view>
            <h:outputText value="What would you like to do?"/>
            <h:form>
                <h:panelGrid columns="3" cellpadding="2">
                    <h:outputText value="Name"/>
                    <h:outputText value="Add"/>
                    <h:outputText value="List/Modify"/>

                    <h:outputText value="Drivers"/>
                    <h:commandButton value="Add a driver" action="addDriverAdmin"/>
                    <h:commandButton value="List drivers" action="driverList"/>

                    <h:outputText value="Time Slots"/>
                    <h:commandButton value="Add a Time Slot" action="addTimeSlotAdmin"/>
                    <h:commandButton value="List Time Slots" action="timeSlotList"/>

                    <h:outputText value="Vehicles"/>
                    <h:commandButton value="Add a Vehicle" action="addVehicle"/>
                    <h:commandButton value="List Vehicles" action="vehicleList"/>

                    <h:outputText value="Vehicle Types"/>
                    <h:commandButton value="Add Vehicle Type" action="addVehicleType"/>
                    <h:commandButton value="List Vehicle Types" action="vehicleTypeList"/>

                    <h:outputText value="Users"/>
                    <h:commandButton value="Add User" action="addUser"/>
                    <h:commandButton value="List Users" action="userList"/>

                    <h:outputText value="Events"/>
                    <h:outputText/>
                    <h:commandButton value="View Events" action="eventsList"/>
                </h:panelGrid>
            </h:form>
        </f:view>
    </h:body>
</html>

